package com.sevattal.service.leaves.service;

import com.sevattal.service.leaves.entity.Material;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 物资表 服务类
 * </p>
 *
 * @author Sevattal
 * @since 2021-08-28
 */
public interface MaterialService extends IService<Material> {

    boolean createMaterial(Material material);

    boolean updateMaterial(Material material);

    boolean deleteMaterial(String id);

    List<Material> getMaterialList(Material material);

    Material getMaterial(String id);
}
